package com.uniapp.java.uniappjava.dao;

import com.uniapp.java.uniappjava.pojo.Production;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lsy_server
 */
@Repository
public interface ProductionDao extends PagingAndSortingRepository<Production, String> {
    List<Production> findByAuthorIdExists(String authorId,Pageable pageable);
}

